package com.miracle9.game.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class ComputerOrder
  extends BaseEntity
{
  @ManyToOne
  @JoinColumn(name="userId")
  private User user = new User();
  private String borrowDate;
  private String repayDate;
  private int deposit;
  private int returnDeposit;
  private int status;
  private String admin;
  private String remark;
  private String repayAdmin;
  private String repayRemark;
  private int borrowAuthority;
  private int repayAuthority;
  
  public User getUser()
  {
    return this.user;
  }
  
  public void setUser(User user)
  {
    this.user = user;
  }
  
  public String getBorrowDate()
  {
    return this.borrowDate;
  }
  
  public void setBorrowDate(String borrowDate)
  {
    this.borrowDate = borrowDate;
  }
  
  public String getRepayDate()
  {
    return this.repayDate;
  }
  
  public void setRepayDate(String repayDate)
  {
    this.repayDate = repayDate;
  }
  
  public int getDeposit()
  {
    return this.deposit;
  }
  
  public void setDeposit(int deposit)
  {
    this.deposit = deposit;
  }
  
  public int getReturnDeposit()
  {
    return this.returnDeposit;
  }
  
  public void setReturnDeposit(int returnDeposit)
  {
    this.returnDeposit = returnDeposit;
  }
  
  public int getStatus()
  {
    return this.status;
  }
  
  public void setStatus(int status)
  {
    this.status = status;
  }
  
  public String getRemark()
  {
    return this.remark;
  }
  
  public void setRemark(String remark)
  {
    this.remark = remark;
  }
  
  public String getAdmin()
  {
    return this.admin;
  }
  
  public void setAdmin(String admin)
  {
    this.admin = admin;
  }
  
  public String getRepayAdmin()
  {
    return this.repayAdmin;
  }
  
  public void setRepayAdmin(String repayAdmin)
  {
    this.repayAdmin = repayAdmin;
  }
  
  public String getRepayRemark()
  {
    return this.repayRemark;
  }
  
  public void setRepayRemark(String repayRemark)
  {
    this.repayRemark = repayRemark;
  }
  
  public int getBorrowAuthority()
  {
    return this.borrowAuthority;
  }
  
  public void setBorrowAuthority(int borrowAuthority)
  {
    this.borrowAuthority = borrowAuthority;
  }
  
  public int getRepayAuthority()
  {
    return this.repayAuthority;
  }
  
  public void setRepayAuthority(int repayAuthority)
  {
    this.repayAuthority = repayAuthority;
  }
}
